package net.ericaro.neojavagen.classes ;
import net.ericaro.neojavagen.types.Identifier;
import net.ericaro.neojavagen.classes.ClassBody;
import net.ericaro.neojavagen.interfaces.Annotations;
import net.ericaro.neojavagen.expressions.Arguments ;

/**
* *<pre> EnumConstant :
    Annotations? Identifier ( Arguments? ) ClassBody?
</pre>
*/
public class EnumConstant   {

Annotations annotations;
Identifier identifier;
Arguments arguments;
ClassBody classbody ;

public EnumConstant( Annotations annotations, Identifier identifier, Arguments arguments, ClassBody classbody ){
	this.annotations = annotations; this.identifier = identifier; this.arguments = arguments; this.classbody = classbody ;
	}public EnumConstant( Identifier identifier ){
this.identifier = identifier ;
}


public String toString(){
	StringBuilder stringbuilder = new StringBuilder();
	if (this.annotations !=null ) stringbuilder.append( this.annotations ).append(" ");
stringbuilder.append( this.identifier ).append(" ");
stringbuilder.append( "(" ).append(" ");
if (this.arguments !=null ) stringbuilder.append( this.arguments ).append(" ");
stringbuilder.append( ")" ).append(" ");
if (this.classbody !=null ) stringbuilder.append( this.classbody ).append(" ") ;
	return stringbuilder.toString();
}

}
